package com.dss.auto_deploy.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dss.auto_deploy.domain.AdmProjectAutoConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dss.auto_deploy.dto.AdmProjectAutoConfigPageDto;
import com.dss.auto_deploy.vo.AdmProjectAutoConfigVo;

import java.util.List;

/**
* @Description:配置自动触发更新的项目/分支Mapper
* @author dongshoushan
* @date 2022-10-22 14:13:37
*/
public interface AdmProjectAutoConfigMapper extends BaseMapper<AdmProjectAutoConfig>{

    AdmProjectAutoConfig getByDevConfig(Long projectId);
    AdmProjectAutoConfig getByProjectIdMaster(Long projectId);

    List<AdmProjectAutoConfigVo> list(AdmProjectAutoConfigPageDto pageDto, Page<AdmProjectAutoConfigVo> page);
}
